package scene;

import java.awt.Color;

import ray.Ray;

import util.Point3D;
import util.Vector3D;

public abstract class SceneObject {
	
	protected Color baseColor;
	
	public SceneObject(Color baseColor) {
		this.baseColor = baseColor;
	}
	
	public abstract Point3D getClosestIntersectionPoint(Ray r);
	
	public abstract Vector3D getNormalAtPoint(Point3D p);
	
	public Color getBaseColor() {
		return baseColor;
	}
	
}
